<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
    <meta name="format-detection" content="telephone=no" />
    <script>
        var html = document.getElementsByTagName('html')[0];
        html.style.fontSize = html.clientWidth / 3.75 + "px";
    </script>
    <title>我的求购</title>
    <link rel="stylesheet" href="../static/css/Reset.css">
    <link rel="stylesheet" href="../static/css/myPurchase.css" />
</head>
<body>
	<div id="bulk" class="container" v-scroll="getMore">
		<ul class="supplyList" v-cloak>
			<li v-for="buy in bulkData">
        		<a :href="'myPurchaseDetail.html?id=' + buy.id">
        			<div class="fabu">
        				<div class="fabu_ren">发布人：{{buy.buyerName}}</div>
        				<div class="fabu_riqi">发布：{{buy.publishTime}}</div>
        			</div>
			        <div class="left_pic">
			        	<img :src="buy.headPic" onerror="javascript:this.src=''" />
			        </div>
			        <div class="right_text">
			            <p class="goodsInfo">{{buy.tbTitle}}</p>
			            <div class="supplyGoods">
			                <span class="total">采购量：{{buy.buyingNum}}斤</span>
			            </div>
			            <div class="supplyGoods">
			            	<span class="location">								
								<img src="../static/images/location.png" alt="">
								<i>{{buy.buyerArea}}</i>
							</span>
			            	<span class="price"><i>¥{{buy.perPrice}}</i>元/斤</span>
			            </div>
			        </div>
		        </a>
			</li>
			<!--暂无相关信息-->
			<div v-if="noData" class="NoFllow">
				<img src="../static/images/zwxx.png" alt="">
				<div class="nofllowText">暂无相关信息！</div>
			</div>
		</ul>
		<!--发布求购按钮-->
        <div class="fbqg" @click="toEditBuy"><img src="../static/images/fqg.png" alt="发求购"/></div>
	    <!--oading组件-->
		<loading v-show="showLoading"></loading>
	</div>
</body>
<script src="https://api.map.baidu.com/api?v=2.0&ak=1BiZDIdoRV9iryDNcdF4oU37pqwftOin&s=1"></script>
<script type="text/javascript" src="../libs/jquery.min.js"></script>
<script type="text/javascript" src="../libs/jquery.validate.min.js"></script>
<script type="text/javascript" src="../libs/fastclick.min.js"></script>
<script type="text/javascript" src="../libs/vue/vue.min.js"></script>
<script type="text/javascript" src="../libs/vue/vue-resource.min.js"></script>
<script type="text/javascript" src="../libs/require.js"></script>
<script type="text/javascript" src="../libs/var.js"></script>
<script type="text/javascript" src="../libs/common.js"></script>
<script type="text/javascript" src="./js/myPurchase.js"></script>
</html>